PublicStreamErrorCode enum Null safety

公共流状态码

Constants

internalError → const PublicStreamErrorCode

内部错误,不可恢复,请重试。

const PublicStreamErrorCode(3)
paramError → const PublicStreamErrorCode

公共流的参数异常,请修改参数后重试

const PublicStreamErrorCode(1)
pushError → const PublicStreamErrorCode

推流失败,将自动重试,用户不需要处理

const PublicStreamErrorCode(4)
statusError → const PublicStreamErrorCode

服务端状态异常,将自动重试

const PublicStreamErrorCode(2)
success → const PublicStreamErrorCode

发布或订阅成功

const PublicStreamErrorCode(0)
timeOut → const PublicStreamErrorCode

推流失败,10 s 后会重试,重试 3 次后停止重试

const PublicStreamErrorCode(5)
values → const List<PublicStreamErrorCode>

A constant List of the values in this enum, in order of their declaration.

const List<PublicStreamErrorCode>

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
index → int

The integer index of this enum.

final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
override

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited